@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Pu shuo <pushuo@opencart.cn>
// @created          2017-12-08 15:07:18
// @modified         2017-12-11 15:17:20
//

#account-login {
    input.btn.btn-primary,
    button.btn.btn-primary{
        background: #333333;
    }
    position: relative;
    height: 600px;
    background-size: auto;
    width: 100%;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;

    .breadcrumb {
        display: none;
    }

    .alert {
        margin-top: $gutter;
    }

    .login-wrapper {
        width: 400px;
        position: absolute;
        padding: 54px 45px 25px;
        right: 0;
        top: 50px;
        background-color: #fff;
        -webkit-box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        border: none;
        border-radius: 2px;

        // 切换登录方式的图标
        .icon-container {
            position: absolute;
            right: 8px;
            top: 10px;
            width: 45px;
            height: 45px;
            cursor: pointer;
            overflow: hidden;
            i.login-icon {
                display: inline-block;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-repeat: no-repeat;
                &.scan {
                    background-image: url("/catalog/view/theme/amazon/image/icon/qrcode.svg");
                }
                &.pc {
                    background-image: url("/catalog/view/theme/amazon/image/icon/pc.svg");
                }
            }
            &:after {
                position: absolute;
                content: "";
                top: 10px;
                left: 0;
                width: 50px;
                height: 30px;
                background-color: #fff;
                transform: rotateZ(45deg);
                transform-origin: 0 0;
            }
        }

        // 扫码登录区域的样式
        .scan-login-container {
            .qrcode-image {
                position: relative;
                width: 150px;
                height: 150px;
                margin: 0 auto 10px;
                img {
                    width: 100%;
                    height: 100%;
                }
                .loop-tips {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    padding: 0 10px;
                    top: 0;
                    left: 0;
                    background-color: rgba(255,255,255,.95);
                    z-index: 100;
                    .success-text {
                        position: absolute;
                        top: 50%;
                        left: 0;
                        padding: 10px;
                        margin: 0;
                        transform: translateY(-50%);
                        span {
                            color: red;
                        }
                    }
                    .icon-success {
                        display: inline-block;
                        width: 15px;
                        height: 15px;
                        vertical-align: sub;
                        background-image: url("/catalog/view/theme/amazon/image/icon/correct.svg");
                        background-size: cover;
                        background-repeat: no-repeat;
                    }
                    p {
                        margin-top: 40px;
                        margin-bottom: 10px;
                    }
                    button {
                        width: 80px;
                        height: 30px;
                        font-size: 12px;
                        box-shadow: none;
                        border: 1px solid #333;
                        color: #fff;
                        background-color: #333;
                        &:hover {
                            opacity: .8;
                        }
                        &:focus {
                            outline: none;
                        }
                    }
                }
            }

        }
        //@media (max-width: 768px) {
        //    margin: 30px auto;
        //    padding: 10px;
        //}

        h2 {
            text-align: center;
            padding-bottom: 0;
            font-size: 24px;
            margin-bottom: 22px;
            //border-bottom: 1px solid #eee;
        }

        label {
            font-size: 16px;
            font-weight: 500;
            display: none;
        }

        input {
            height: 48px;
            @media (max-width: 768px) {
                height: 40px;
            }

            border-top: none;
            border-left: none;
            border-right: none;
            border-bottom: 1px solid rgba(133,133,133,1);
            padding: 10px 0;
        }

        .register-box {
            overflow: hidden;
            margin-top: 12px;
            margin-bottom: 22px;
            a{
                color: $brand-secondary;
            }
        }

        input[type='submit'] {
            margin-top: 24px;
            width: 100%;
            font-size: 16px;
            height: 40px;
            border: none;
        }

        .telephone-wrapper{
            font-size: 0;
            .dial_code{
                vertical-align: top;
                display: inline-block;
                width: 26%;
                margin-right: 4%;
                .form-control{
                    padding-top: 10px;
                    height: 48px;
                    padding-bottom: 10px;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    border-bottom: 1px solid #858585;
                }
            }

            .telephone{
                display: inline-block;
                width: 70%;
                .text-danger{
                    font-size: 13px;
                }
            }
        }
    }

    ul.nav-tabs{
        li{
            width: 50%;
            a{
                text-align: center;
                font-size:16px;
                color: #9D9D9D;
                padding-top: 0;
                &:before{
                    background-color: #333333;
                }
            }
            &.active > a{
                border: none;
                color: $brand-secondary;
            }
        }
    }

    .oauth-login{
        &> a{
            display: inline-block;
            width: 34px;
            height: 34px;
            margin-right: 16px;
            img{
                width: 34px;
            }
        }
    }

}

#account-register{
    input.btn.btn-primary,
    button.btn.btn-primary{
        background: #333333;
    }

    max-height: 590px;
    background-size: auto;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    .register-wrapper {
        .mt-2{
            margin-top: 30px;
        }

        ul.nav-tabs{
            li{
                width: 50%;
                a{
                    text-align: center;
                    font-size:16px;
                    color: #9D9D9D;
                    padding-top: 0;
                    &:before{
                        background-color: #333333;
                    }
                }
                &.active > a{
                    border: none;
                    color: $brand-secondary;
                }
            }
        }

        @media (min-width: 768px) {
            width: 400px;
        }
        padding: 34px 45px;
        margin: 76px 0 74px auto;
        background-color: #fff;
        -webkit-box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        border: none;
        border-radius: 2px;

        @media (max-width: 768px) {
            margin: 30px auto;
            padding: 10px;
        }

        h1 {
            display: none;
        }

        label {
            font-size: 16px;
            font-weight: 500;
            //display: none;
            vertical-align: middle;
            &>input{
                height: 14px;
            }
        }
        //
        div{
            &>input {

                @media (max-width: 768px) {
                    height: 40px;
                }
                height: 40px;
                border-top: none;
                border-left: none;
                border-right: none;
                border-bottom: 1px solid rgba(133,133,133,1);
                padding: 10px 0;
            }
        }

        .binding-policy{
            font-size: 0;
            .policy{
                width: 65%;
                text-align: right;
                display: inline-block;
                font-size: 14px;
                input{
                    height: 16px;
                    vertical-align: middle;
                    margin-top: 0;
                }
            }
            .binding{
                font-size: 12px;
                width: 35%;
                text-align: left;
                display: inline-block;
                a{
                    color: #9D9D9D;
                    &:hover{
                        color: $brand-primary;
                    }
                }
            }
        }

        //
        //
        //}
        //
        //.register-box {
        //  overflow: hidden;
        //  margin-top: 12px;
        //  a{
        //    color: $brand-secondary;
        //  }
        //}
        //
        input[type='submit'] {
            margin-top: 10px;
            width: 100%;
            font-size: 16px;
            height: 40px;
        }

        .success-pane{
            display: none;
            text-align: center;
            padding-bottom: 107px;
            .success-icon{
                margin: 50px auto 0;
                width:86px;
                height:86px;
                &>img{
                    width: 100%;
                }
            }
            h3{
                margin-top: 10px;
                margin-bottom: 8px;
                height:24px;
                font-size:18px;
                font-weight:400;
                line-height:24px;
                color:rgba(51,51,51,1);
            }
            a{
                height:21px;
                font-size:16px;
                line-height:21px;
            }
        }
    }
    .dot{
        width: 100%;
        position: relative;
    }
    .dot:before{
        content: '*';
        display: block;
        position: absolute;
        right: 6px;
        line-height: 40px;
        color: #F06767;
    }

    .verify-code{
        position: relative;
        &>button{
            position: absolute;
            right: 0;
            top: 4px;
            height:36px;
            text-align: center;
            min-width: 100px;
        }
        &>input{
            margin-left: 0;
            margin-right: auto;
            width: 160px;
            &:focus{
                outline: none;
            }
        }
    }

    .telephone-wrapper{
        font-size: 0;
        .dial_code{
            vertical-align: top;
            display: inline-block;
            width: 26%;
            margin-right: 4%;
            .form-control{
                padding-top: 10px;
                height: 40px;
                padding-bottom: 10px;
                border-top: none;
                border-left: none;
                border-right: none;
                border-bottom: 1px solid #858585;
            }
        }

        .telephone{
            display: inline-block;
            width: 70%;
            .text-danger{
                font-size: 13px;
            }
        }
    }




}

#account-forgotten{
    max-height: 252px;

    display: table;
    width: 100%;
    background-color: #fff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    @media (min-width: 992px) {
        min-height: 600px;
    }

    .breadcrumb {
        display: none;
    }

    .alert {
        margin-top: $gutter;
    }

    .forgotten-wrapper {

        .mt-2{
            margin-top: 18px;
        }

        ul.nav-tabs{
            margin-top: 26px;
            li{
                width: 50%;
                a{
                    text-align: center;
                    font-size:16px;
                    color: #9D9D9D;
                    padding-top: 0;
                    &:before{
                        background-color: #333333;
                    }
                }
                &.active > a{
                    border: none;
                    color: $brand-secondary;
                }
            }
        }

        @media (min-width: 768px) {
            width: 400px;
        }
        padding: 34px 45px;
        margin: 76px 0 74px auto;
        background-color: #fff;
        -webkit-box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        border: none;
        border-radius: 2px;

        @media (max-width: 768px) {
            margin: 30px auto;
            padding: 10px;
        }

        h2 {
            text-align: center;
            padding-bottom: 0;
            font-size: 24px;
            margin-bottom: 22px;
            //border-bottom: 1px solid #eee;
        }

        label {
            font-size: 16px;
            font-weight: 500;
            display: none;
        }

        input {
            height: 48px;
            @media (max-width: 768px) {
                height: 40px;
            }

            border-top: none;
            border-left: none;
            border-right: none;
            border-bottom: 1px solid rgba(133,133,133,1);
            padding: 10px 0;
        }

        .telephone-wrapper{
            font-size: 0;
            .dial_code{
                vertical-align: top;
                display: inline-block;
                width: 26%;
                margin-right: 4%;
                .form-control{
                    padding-top: 10px;
                    height: 48px;
                    padding-bottom: 10px;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    border-bottom: 1px solid #858585;
                }
            }

            .telephone{
                display: inline-block;
                width: 70%;
                .text-danger{
                    font-size: 13px;
                }
            }
        }

        input[type='submit'] {
            margin-top: 24px;
            width: 100%;
            font-size: 16px;
            height: 40px;
        }

        .verify-code{
            position: relative;
            &>button{
                position: absolute;
                right: 0;
                bottom: 0;
                height:36px;
                text-align: center;
                min-width: 100px;
            }
            &>input{
                margin-left: 0;
                margin-right: auto;
                width: 160px;
                &:focus{
                    outline: none;
                }
            }
        }

        .success-pane{
            display: none;

            .success-pane-icon{
                width:86px;
                height:86px;
                margin: 36px auto 10px;
                &>img{
                    width: 100%;
                }
            }
            .success-pane-title{
                text-align: center;
                height:24px;
                font-size:18px;
                margin-bottom: 14px;
            }
            .success-pane-tips{
                width:234px;
                height:43px;
                font-size:16px;
                margin: auto;
                color: #9D9D9D;
                padding-bottom: 107px;
                &>a{
                    color: #D5BE9F;
                }
            }
        }
    }
}

#account-reset{
    max-height: 252px;

    display: table;
    width: 100%;
    background-color: #fff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    @media (min-width: 992px) {
        min-height: 600px;
    }

    .breadcrumb {
        display: none;
    }

    .reset-wrapper {
        @media (min-width: 768px) {
            width: 400px;
        }
        padding: 34px 45px;
        margin: 76px 0 74px auto;
        background-color: #fff;
        -webkit-box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        box-shadow: 0 1px 14px 0 rgba(0,0,0,.2);
        border: none;
        border-radius: 2px;

        @media (max-width: 768px) {
            margin: 30px auto;
            padding: 10px;
        }

        h2 {
            text-align: center;
            padding-bottom: 0;
            font-size: 24px;
            margin-bottom: 22px;
            //border-bottom: 1px solid #eee;
        }

        label {
            font-size: 16px;
            font-weight: 500;
            display: none;
        }

        input {
            height: 48px;
            @media (max-width: 768px) {
                height: 40px;
            }

            border-top: none;
            border-left: none;
            border-right: none;
            border-bottom: 1px solid rgba(133,133,133,1);
            padding: 10px 0;
        }


        button[type='submit'] {
            margin-top: 24px;
            width: 100%;
            font-size: 16px;
            height: 40px;
        }
    }

}